home *** CD-ROM | disk | FTP | other *** search
/ Comix Games / Comix Games.iso / waldo / waldo.exe / FINAL08.DXR / 00310.ls < prev    next >
Encoding:
Text File  |  1995-10-08  |  479 b   |  15 lines

  1. global gFlagSprite, gUserLevel
  2.  
  3. on mouseDown
  4.   set gFlagSprite to the clickOn
  5.   if legalButton(gFlagSprite) then
  6.     set gUserLevel to 3
  7.     setProp(gFlagSprite, gFlagSprite + 2, "puppet", 1)
  8.     set the castNum of sprite gFlagSprite to the number of cast "Flag3, 1"
  9.     set the castNum of sprite (gFlagSprite + 1) to the number of cast "Flag2, 0"
  10.     set the castNum of sprite (gFlagSprite + 2) to the number of cast "Flag1, 0"
  11.     updateStage()
  12.     checkNewGame()
  13.   end if
  14. end
  15.